package com.flurry.android;

import com.flurry.android.caching.ObjectData;
import org.json.JSONException;
import org.json.JSONObject;

final class er
  implements Runnable
{
  private AppCloudResponseHandler cP;
  private ObjectData gr = null;

  public er(ObjectData paramObjectData, AppCloudResponseHandler paramAppCloudResponseHandler)
  {
    this.gr = paramObjectData;
    this.cP = paramAppCloudResponseHandler;
  }

  public final void run()
  {
    FlurryAppCloud.D().getPendingData().b(this.gr);
    try
    {
      AppCloudResponse localAppCloudResponse = new AppCloudResponse(new JSONObject("{code:\"200\",note:\"Updated in local cache.\"}"));
      this.cP.handleResponse(localAppCloudResponse);
      FlurryAppCloud.D().registerDirtyObject(this.gr.getId(), this.cP, 4);
      return;
    }
    catch (JSONException localJSONException)
    {
      while (true)
        localJSONException.printStackTrace();
    }
    catch (Exception localException)
    {
      while (true)
        localException.printStackTrace();
    }
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.flurry.android.er
 * JD-Core Version:    0.6.2
 */